package com.itheima.service.db.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.itheima.domain.db.soul.SoulExam;
import com.itheima.mapper.SoulExamMapper;
import com.itheima.service.db.SoulExamService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class SoulExamServiceImpl implements SoulExamService {

    @Autowired
    SoulExamMapper soulExamMapper;


    @Override
    public List<SoulExam> findAll() {

        return soulExamMapper.findAll();

    }

    @Override
    public SoulExam findById(Long soulExamId) {

        return soulExamMapper.selectById(soulExamId);
    }

}
